]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Remove DYNAMIC_MOZJS_HACK bits
authorColin Walters <walters@verbum.org>
Fri, 11 Mar 2011 15:29:27 +0000 (10:29 -0500)
committerColin Walters <walters@verbum.org>
Fri, 11 Mar 2011 15:30:33 +0000 (10:30 -0500)
Not used anymore now that gnome-shell is a real ELF binary with an
rpath.

configure.ac
src/Makefile.am

index ebd5851208e1c01e967551890f64e949dcf5ff0a..32bcc01fa2c10020d68486b81bf2d2ae19248996 100644 (file)
@@ -190,20 +190,6 @@ AC_ARG_ENABLE(jhbuild-wrapper-script,
   AS_HELP_STRING([--jhbuild-wrapper-script=yes],[Make "gnome-shell" script work for jhbuild]),,enable_jhbuild_wrapper_script=no)
 AM_CONDITIONAL(USE_JHBUILD_WRAPPER_SCRIPT, test "x$enable_jhbuild_wrapper_script" = xyes)
 
-AC_MSG_CHECKING([for Ubuntu])
-if test -f /etc/ubuntu_version; then
-  enable_dynamic_mozjs_hack_default=yes
-  AC_MSG_RESULT([yes])
-else
-  enable_dynamic_mozjs_hack_default=no
-  AC_MSG_RESULT([no])
-fi
-
-AC_ARG_ENABLE(dynamic-mozjs-hack,
-  AS_HELP_STRING([--dynamic-mozjs-hack=no],[Look for libmozjs.so using pkg-config]),,enable_dynamic_mozjs_hack=$enable_dynamic_mozjs_hack_default)
-ENABLE_DYNAMIC_MOZJS_HACK=$enable_dynamic_mozjs_hack
-AC_SUBST(ENABLE_DYNAMIC_MOZJS_HACK)
-
 AC_CONFIG_FILES([
   Makefile
   data/Makefile
index 1c3e1b68c9794e11ef78258435b774d7e9c5a9bb..eb346e2ca83e994f9c655cc4c0d5f4bf06d344c4 100644 (file)
@@ -39,7 +39,6 @@ generated_script_substitutions = \
            -e "s|@libexecdir[@]|$(libexecdir)|" \
            -e "s|@libdir[@]|$(libdir)|" \
            -e "s|@pkgdatadir[@]|$(pkgdatadir)|" \
-           -e "s|@ENABLE_DYNAMIC_MOZJS_HACK[@]|$(ENABLE_DYNAMIC_MOZJS_HACK)|" \
            -e "s|@PYTHON[@]|$(PYTHON)|" \
            -e "s|@VERSION[@]|$(VERSION)|" \
            -e "s|@sysconfdir[@]|$(sysconfdir)|"